import request from '@/utils/request'

// 查询车辆作业流程图列表
export function listVehicleBusiFlow(query) {
  return request({
    url: '/billsdecl/vehicleBusiFlow/list',
    method: 'get',
    params: query
  })
}

// 查询车辆作业流程图详细
export function getVehicleBusiFlow(id) {
  return request({
    url: '/billsdecl/vehicleBusiFlow/getInfo/' + id,
    method: 'get'
  })
}

// 新增车辆作业流程图
export function addVehicleBusiFlow(data) {
  return request({
    url: '/billsdecl/vehicleBusiFlow/add',
    method: 'post',
    data: data
  })
}

// 修改车辆作业流程图
export function updateVehicleBusiFlow(data) {
  return request({
    url: '/billsdecl/vehicleBusiFlow/edit',
    method: 'post',
    data: data
  })
}

// 删除车辆作业流程图
export function delVehicleBusiFlow(id) {
  return request({
    url: '/billsdecl/vehicleBusiFlow/remove/' + id,
    method: 'get'
  })
}

// 导出车辆作业流程图
export function exportVehicleBusiFlow(query) {
  return request({
    url: '/billsdecl/vehicleBusiFlow/export',
    method: 'get',
    params: query
  })
}
